package com.yumingjiang.weichatgtp.common.exception;

/**
 * [一句话描述该类的功能]
 *
 * @author : [Administrator]
 * @version : [v1.0]
 * @createTime : [2023/4/5 23:34]
 */
public class AuthException extends RuntimeException{

    private String code;
    private String msg;

    public AuthException(String code, String msg) {
        super(code+" : "+msg);
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
